package request

type ArticleAdd struct {
	UserId  int    `json:"userId" form:"userId" binding:"required"`
	Title   string `json:"title" form:"title" binding:"required"`
	Intro   string `json:"intro" form:"intro" binding:"required"`
	FileUrl string `json:"file_url" form:"file_url" binding:"required"`
}
type ArticleGood struct {
	UserId    int `json:"userId" form:"userId" binding:"required"`
	ArticleId int `json:"article_id" form:"article_id" binding:"required"`
}
type ArticleBrowse struct {
	UserId    int `json:"userId" form:"userId" binding:"required"`
	ArticleId int `json:"article_id" form:"article_id" binding:"required"`
}
type ArticleReview struct {
	UserId    int    `json:"userId" form:"userId" binding:"required"`
	ArticleId int    `json:"article_id" form:"article_id" binding:"required"`
	Context   string `json:"context" form:"context" binding:"required"`
}
type ResArticleReview struct {
	UserId    int    `json:"userId" form:"userId" binding:"required"`
	ArticleId int    `json:"article_id" form:"article_id" binding:"required"`
	Context   string `json:"context" form:"context" binding:"required"`
}
type ReviewGood struct {
	UserId    int `json:"userId" form:"userId" binding:"required"`
	ArticleId int `json:"article_id" form:"article_id" binding:"required"`
	ReviewId  int `json:"review_id" form:"review_id" binding:"required"`
}
type DelReview struct {
	Id int `json:"id" form:"id" binding:"required"`
}
type DelReviewGood struct {
	Id int `json:"id" form:"id" binding:"required"`
}
